package com.sky.roleview.entity;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.Ignore;
import androidx.room.PrimaryKey;

import java.util.List;

/**
 * Administrator
 * 2018/8/25
 * 17:43
 */
@Entity(tableName = "role_skin_table")
public class RoleSkinInfo {

    @PrimaryKey(autoGenerate = true)
    @ColumnInfo(name = "id")
    private int id;

    @ColumnInfo
    private int userId;
    @ColumnInfo
    private String downloadStatus;//下载状态 是否下载过皮肤 0.未下载 1.已下载
    @ColumnInfo
    private int lastSelectedRole;//上一次选中的角色
    @ColumnInfo
    private int roleSelected;//默认选中的角色
    @Ignore
    private String roleDownload;
    @Ignore
    private int index;
    @Ignore
    private int startX;
    @Ignore
    private int startY;
    @Ignore
    private int bodyY;
    @Ignore
    private int footY;
    @Ignore
    private int bottomY;
    @Ignore
    private int headHeight;
    @Ignore
    private int bodyHeight;
    @Ignore
    private int footHeight;
    @Ignore
    private int gifWidth;
    @Ignore
    private int gifHeight;
    @Ignore
    private int iconWidth;
    @Ignore
    private int iconHeight;
    @Ignore
    private String coverName;
    @Ignore
    private String cover;
    @Ignore
    private List<String> foot;
    @Ignore
    private List<String> body;
    @Ignore
    private List<String> head;
    @Ignore
    private List<String> idle;


    public RoleSkinInfo() {

    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "RoleSkinInfo{" +
                "id=" + id +
                ", userId=" + userId +
                ", downloadStatus=" + downloadStatus +
                ", lastSelectedRole=" + lastSelectedRole +
                ", roleSelected=" + roleSelected +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDownloadStatus() {
        return downloadStatus;
    }

    public void setDownloadStatus(String downloadStatus) {
        this.downloadStatus = downloadStatus;
    }

    public int getLastSelectedRole() {
        return lastSelectedRole;
    }

    public void setLastSelectedRole(int lastSelectedRole) {
        this.lastSelectedRole = lastSelectedRole;
    }

    public int getRoleSelected() {
        return roleSelected;
    }

    public void setRoleSelected(int roleSelected) {
        this.roleSelected = roleSelected;
    }

    public String getRoleDownload() {
        return roleDownload;
    }

    public void setRoleDownload(String roleDownload) {
        this.roleDownload = roleDownload;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public int getStartX() {
        return startX;
    }

    public void setStartX(int startX) {
        this.startX = startX;
    }

    public int getStartY() {
        return startY;
    }

    public void setStartY(int startY) {
        this.startY = startY;
    }

    public int getBodyY() {
        return bodyY;
    }

    public void setBodyY(int bodyY) {
        this.bodyY = bodyY;
    }

    public int getFootY() {
        return footY;
    }

    public void setFootY(int footY) {
        this.footY = footY;
    }

    public int getBottomY() {
        return bottomY;
    }

    public void setBottomY(int bottomY) {
        this.bottomY = bottomY;
    }

    public int getHeadHeight() {
        return headHeight;
    }

    public void setHeadHeight(int headHeight) {
        this.headHeight = headHeight;
    }

    public int getBodyHeight() {
        return bodyHeight;
    }

    public void setBodyHeight(int bodyHeight) {
        this.bodyHeight = bodyHeight;
    }

    public int getFootHeight() {
        return footHeight;
    }

    public void setFootHeight(int footHeight) {
        this.footHeight = footHeight;
    }

    public int getGifWidth() {
        return gifWidth;
    }

    public void setGifWidth(int gifWidth) {
        this.gifWidth = gifWidth;
    }

    public int getGifHeight() {
        return gifHeight;
    }

    public void setGifHeight(int gifHeight) {
        this.gifHeight = gifHeight;
    }

    public int getIconWidth() {
        return iconWidth;
    }

    public void setIconWidth(int iconWidth) {
        this.iconWidth = iconWidth;
    }

    public int getIconHeight() {
        return iconHeight;
    }

    public void setIconHeight(int iconHeight) {
        this.iconHeight = iconHeight;
    }

    public String getCoverName() {
        return coverName;
    }

    public void setCoverName(String coverName) {
        this.coverName = coverName;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public List<String> getFoot() {
        return foot;
    }

    public void setFoot(List<String> foot) {
        this.foot = foot;
    }

    public List<String> getBody() {
        return body;
    }

    public void setBody(List<String> body) {
        this.body = body;
    }

    public List<String> getHead() {
        return head;
    }

    public void setHead(List<String> head) {
        this.head = head;
    }

    public List<String> getIdle() {
        return idle;
    }

    public void setIdle(List<String> idle) {
        this.idle = idle;
    }
}
